<!DOCTYPE html>

<html>
<head>
	<title>Nerv Widgets 3</title>
	
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta> 
	
	<link rel="stylesheet" href="../../themes/nw3/form.css" type="text/css" media="all"></link>
	
	<script src="../../nw3.js" type="text/javascript"></script>
	<script src="../../plugins/form/form.js" type="text/javascript"></script>
	<script src="../../langs/it.js" type="text/javascript"></script>
</head>

<body>

<script>
// stampa titolo pagina
window.document.title = NW3.toString();
</script>


<br />
Nerv Form Plugin: Input Password
<br />
<br />

<form action="" method="get">
<script>
oInputPassword = new NW3.form.Password({
	name : 'fieldname',
	label : {
		text : 'Input password:'
	},
	id : 'fieldid',
	width : '200'
});
oInputPassword.print();
</script>
<br />
<br />
<br />
<br />

Password Autogenerate
<br />
value : 'passwordphrase'
<br />
<script>
oInputPassword = new NW3.form.Password({
	name : 'fieldname',
	label : {
		text : 'Input password:'
	},
	id : 'fieldid',
	value : 'passwordphrase',
	width : '200'
});
oInputPassword.print();
</script>
<br />
<br />

<br />
<br />
Password Autogenerate
<br />
<pre>
autogenerate : {
	length : 3,
	format : 'lower' // optional
}
</pre>
<br />
<script>
oInputPassword = new NW3.form.Password({
	name : 'fieldname',
	label : {
		text : 'Input password autogenerate:'
	},
	id : 'fieldid',
	width : '200',

	autogenerate : {
		length : 3,
		format : 'lower' // optional
	}
});
oInputPassword.print();
</script>
<br />
<br />
<br />

<input value="Submit" type="submit" />

</form>
<br />
</body>
</html>
